import Vue from "vue";
import Vuex from "vuex";
import address from "./address"
Vue.use(Vuex);
const store=new Vuex.Store({
    state:{
        token:"",
    },
    mutations:{
        // 设置token
        setToken(state,payload){
            state.token=payload;
        },
    },
    modules:{address},
})
export default store;